class CreateProductConditions < ActiveRecord::Migration
  def change
    create_table :product_conditions do |t|
      t.references :product
      t.integer :available_quantity

      t.timestamps
    end
    add_index :product_conditions, :product_id
  end
end
